A database trigger is a DDL trigger to the current database. DDL triggers execute in response to a variety of data definition language (DDL) events. These events primarily correspond to Transact-SQL CREATE, ALTER, and DROP statements, and certain system stored procedures that perform DDL-like operations.
Note: Support from SQL Server 2005 or later and SQL Azure.
Just simply click ->
Database Trigger to open
an object pane for Database Trigger. A control-click displays the
popup menu or using the object pane toolbar below, allowing you to create
new, edit and delete the selected database trigger.
Create Database Trigger
To create a new database trigger
- Select anywhere on the object pane.
- Click the
from the object pane toolbar.
or - Control-click and select New Database Trigger from the popup menu.
- Edit database trigger properties on the appropriate tabs of the Database Trigger Designer.
To create a new database trigger with modification as one of the existing database trigger
- Select the database trigger for modifying in the object pane.
- Control-click and select the Design
Database Trigger from the popup menu or simply double-click the database trigger.
or - Click the
from the object pane toolbar.
- Modify database trigger properties on the appropriate tabs of the Database Trigger Designer.
- Click
Save As.
To edit the existing database trigger(manage its general etc)
- Select the database trigger for editing in the object pane.
- Control-click and select the Design
Database Trigger from the popup menu or simply double-click the database trigger.
or - Click the
from the object pane toolbar.
- Edit database trigger properties on the appropriate tabs of the Database Trigger Designer.
Maintain Database Trigger
To maintain a database trigger
- Select the database trigger for maintaining in the object pane.
- Control-click and select the Maintain from the popup menu.
- Enable Trigger
- Disable Trigger
Delete Database Trigger
To delete a database trigger
- Select the database trigger for deleting in the object pane.
- Control-click and select the Delete Database Trigger
from the popup menu.
or - Click the
from the object pane toolbar.
- Confirm deleting in the dialog window.
Achieve Database Trigger Information
To achieve a database trigger information
- Select the database trigger in the object pane.
- Choose View -> Object Information in the main menu to view the Object Information.
or - Click the
from the object pane toolbar.